package com.ftg.learn.chapter01;

import java.util.Arrays;

/**
 * 学习数组
 *
 * @author lenovo
 * @version 1.0
 * @date 2023/5/27 15:22
 */

public class SHUZU {
    public static void main(String[] args) {
           int[] arr=new int[10];

        for (int i =0; i < arr.length ; i++) {
            while (true) {



            int v =(int)(Math.random()*98+3);
            if(v%2!=0){
                arr[i]=v;
                break;
            }
        }
        }
        System.out.println(Arrays.toString(arr));
    }

}
